# Contributor: Carbon Jiao <http://archlive-pkg.googlecode.com>
pkgname=benliud
pkgver=0.3.3.2
pkgrel=1
pkgdesc="BT下载工具"
arch=('i686'  'x86_64')
url="http://groups.google.com/group/benliud"
license=('custom')
depends=()
optdepends=()
install=()
source=(#http://benliud.googlegroups.com/web/benliud-0.3.3.2-u804.tar.bz2?gda=Togipk4AAACdsVCxHbc9LCK3lDXC4LtBRhHh5hW7pedMrllEVUYnHFWThNsAZkypfRpuLCyj2ukLiNU0_XAZHFbQdjekZ74H47Cl1bPl-23V2XOW7kn5sQ&gsc=GGro0gsAAAAJPPCnQXYzmGkhgMcbHXXA
        $pkgname-$pkgver.bz2::http://blogimg.chinaunix.net/blog/upfile2/080929220709.bz2
	$pkgname.png   $pkgname.desktop Chinese.translation
)
md5sums=()

build() {

	install -dm755 "$srcdir/plugin" "$pkgdir/usr/share/$pkgname/"
	cp -r "$srcdir/plugin" "$pkgdir/usr/share/$pkgname/"
	install -Dm755 "$srcdir/Chinese.translation" "$pkgdir/usr/share/$pkgname/language/Chinese.translation"
	install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/share/$pkgname/$pkgname"
	install -Dm755 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
	install -Dm755 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
	install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
	install -dm755 "$pkgdir/usr/bin"
	ln -sfv "/usr/share/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
